package com.quanyan.place.entity.apireq;

import com.quanyan.BaseRequest;
import com.quanyan.place.entity.vo.UnitSalePlan;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by Kingson.chan on 2016/5/27 0027.
 */
public class ReqPlaceOrderListVo extends BaseRequest{
	private static final long serialVersionUID = -8456873989709867418L;
	private BigDecimal orderAmount;
    @NotEmpty
    private List<UnitSalePlan> unitSalePlanIdList;

    private Integer uid;
    private Integer categoryId;
    private Byte status;
    private Date lockTime;
    private boolean isLockQuery;
    private Integer payInfoType;
    @NotNull
    private Integer placeId;
    private Byte sourceType;

    private List<Integer> salePlanPrimaryKeyList;
    
    private Byte preStatus;

    public Byte getPreStatus() {
		return preStatus;
	}

	public void setPreStatus(Byte preStatus) {
		this.preStatus = preStatus;
	}

	public List<Integer> getSalePlanPrimaryKeyList() {
        return salePlanPrimaryKeyList;
    }

    public Byte getSourceType() {
        return sourceType;
    }

    public void setSourceType(Byte sourceType) {
        this.sourceType = sourceType;
    }

    public void setSalePlanPrimaryKeyList(List<Integer> salePlanPrimaryKeyList) {
        this.salePlanPrimaryKeyList = salePlanPrimaryKeyList;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public Integer getPayInfoType() {
        return payInfoType;
    }

    public void setPayInfoType(Integer payInfoType) {
        this.payInfoType = payInfoType;
    }

    public boolean isLockQuery() {
        return isLockQuery;
    }

    public void setIsLockQuery(boolean isLockQuery) {
        this.isLockQuery = isLockQuery;
    }

    public Date getLockTime() {
        return lockTime;
    }

    public void setLockTime(Date lockTime) {
        this.lockTime = lockTime;
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public List<UnitSalePlan> getUnitSalePlanIdList() {
        return unitSalePlanIdList;
    }

    public void setUnitSalePlanIdList(List<UnitSalePlan> unitSalePlanIdList) {
        this.unitSalePlanIdList = unitSalePlanIdList;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }
}
